﻿#ifndef SETTINGSTOOLBAR_H
#define SETTINGSTOOLBAR_H

#include <QToolBar>
#include <QAction>

class SettingsToolBar : public QToolBar
{
    Q_OBJECT
public:
    SettingsToolBar(QWidget *parent = nullptr);
    void retranslateUi();
signals:
    void startCamera1();
    void startCamera2();
    void stopCamera1();
    void stopCamera2();
    void setupCamera1();
    void setupCamera2();
    void showSettingsDialog();
    void translate(bool on);
    void aboutJinghai();
private slots:
    void onAction(bool checked);
private:
    QAction *m_pActionCamera1;
    QAction *m_pActionCamera2;
    QAction *m_pActionCameraSetup1;
    QAction *m_pActionCameraSetup2;
    QAction *m_pActionSettings;
    QAction *m_pActionChLanguage;
    QAction *m_aboutJinghai;
    QAction *m_aboutQt;
};

#endif // SETTINGSTOOLBAR_H
